package main

import "fmt"

func main() {
	var q [3]int = [3]int{1, 2, 3}
	var qCopy [3]int = [3]int{1, 2, 3}
	fmt.Println(q)

	w := [...]int{1, 2}
	fmt.Println(w)

	type (
		Currency int
	)
	const (
		USD Currency = iota
		EUR
		GBP
		RMB
	)
	symbol := [...]string{USD: "$", EUR: "$", GBP: "&", RMB: "*"}
	fmt.Println(symbol)
	fmt.Println(RMB, symbol[RMB])

	r := [...]int{10: -1}
	fmt.Println(r)
	fmt.Println(q == qCopy)

}
